import { createApp } from 'vue'
import router from './router/index'
import common from './common/common'
import App from './App.vue'
import globalProperties from './globalProperties/index'
import { i18n } from './i18n/index'
import echarts from './echartsConfig'
import { graphic } from 'echarts/index';
import { getfontSize } from '@/utils/refreshScale'
import 'wow.js/css/libs/animate.css'
import 'animate.css'
import pinia from '@/store/index'
 
const app = createApp(App)

app.provide('$echarts',echarts)
app.provide('$graphic',graphic)
app.provide('$getfontSize',getfontSize)
app.use(pinia).use(router).use(globalProperties).use(i18n).mount('#app')